# 复制 static，template，config 到 dist
cp -r ./static ../packer/dist
cp -r ./templates ../packer/dist
cp ../bash/install.sh ../packer/dist
# 进入 dist 目录
cd ../packer/dist

chmod +x install.sh
chmod +x start.exe
# 上传到服务器
# scp -r . root@121.229.102.17:~/youdu_service/youdu_coremail
# 启动 start 程序
echo "编译成功"
# ./start.exe
